package com.mrd.gtimpframe.repository;

import java.util.List;

import com.mrd.gtimpframe.base.BaseMapper;
import com.mrd.gtimpframe.entity.TGenDeclaPolicyRules;

public interface TGenDeclaPolicyRulesMapper extends BaseMapper<TGenDeclaPolicyRules> {
  public List<TGenDeclaPolicyRules> queryList(TGenDeclaPolicyRules tGenDeclaPolicyRules);

  /**
   * 根据场景查询多个验证规则
   * 
   * @author han
   * @param bizScene
   * @return
   */
  List<TGenDeclaPolicyRules> selectByBizScene(Object bizScene);

  /**
   * 批量删除
   * 
   * @author han
   * @param id
   * @return
   */
  int deleteBatch(Object[] id);

  /**
   * 根据规则主键查询场景编码
   * 
   * @author han
   * @param id
   * @return
   */
  List<String> queryRuleIDsBizScene(Object[] id);
}
